﻿* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(200deg, #f3e7e9, #e3eeff);
}

.container {
    position: relative;
    background-color: #fff;
    width: 650px;
    height: 415px;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
}

.form_box {
    display: flex;
    position: absolute;
    top: -10%;
    left: 5%;
    background-color: #d3b7d8;
    width: 320px;
    height: 500px;
    border-radius: 5px;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, .1);
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.8s ease-out;
    /* transform: translateX(80%); */
}

.hidden {
    display: none;
    transition: 0.5s;
}

.login_box,
.register_box {
    text-align: center;
}

    .register_box .login_box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

h1 {
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 5px;
}

input {
    background-color: transparent;
    width: 70%;
    color: #fff;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding: 10px 0;
    text-indent: 10px;
    margin: 8px 0;
    font-size: 14px;
    letter-spacing: 2px;
}

    input::placeholder {
        color: #fff;
    }

    input:focus {
        color: #a262ab;
        outline: none;
        border-bottom: 1px solid #a262ab;
        transition: 0.5s;
    }

        input:focus::placeholder {
            opacity: 0;
        }

.form_box button {
    width: 30%;
    margin-top: 35px;
    background-color: #f6f6f6;
    outline: none;
    border-radius: 8px;
    padding: 13px;
    color: #a262ab;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
}

    .form_box button:hover {
        background-color: #a262ab;
        color: #f6f6f6;
        transition: background-color 0.5s ease;
    }

.con_box {
    position: absolute;
    top: 50%;
    /* right: 2%; */
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}

.left {
    left: -2%;
}

.right {
    right: -2%;
}

.con_box h2 {
    color: #8e9aaf;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 4px;
}

.con_box p {
    font-size: 12px;
    letter-spacing: 2px;
    color: #8e9aaf;
    text-align: center;
}

.con_box span {
    color: #d3b7d8;
}

.con_box img {
    width: 150px;
    height: 150px;
    opacity: 0.9;
    margin: 40px 0;
}

.con_box button {
    margin-top: 3%;
    background-color: #fff;
    color: #a262ab;
    border: 1px solid #d3b7d8;
    padding: 6px 10px;
    border-radius: 5px;
    letter-spacing: 1px;
    outline: none;
    cursor: pointer;
}

    .con_box button:hover {
        background-color: #d3b7d8;
        color: #fff;
    }
